package com.youxue.teachin.set.child.area;

import android.view.View;
import android.view.View.OnClickListener;
import com.library.uiframework.fragment.ptr.PagingRecyclerViewFragment;
import com.library.uiframework.mvp.PagingDataLoadPresenter;
import com.library.xtype.IAdapter;
import com.library.xtype.NuwaRecyclerViewAdapter;

/**
 * 在此写用途
 *
 * @author: zhiwei
 * @date: 2017-10-05 21:32
 * @version: 9.1.0
 */
public class ChageAreaFragment extends PagingRecyclerViewFragment implements OnClickListener{
    NuwaRecyclerViewAdapter mAdapter;

    @Override
    protected IAdapter onCreateAdapter() {
        mAdapter = new NuwaRecyclerViewAdapter();

        mAdapter.setOnClickListener(this);
        return mAdapter;
    }

    @Override
    public void onResume() {
        super.onResume();
    }

    @Override
    protected PagingDataLoadPresenter onCreatePresenter() {
        return new ChageAreaPresenter(this);
    }

    @Override
    public void onClick(View v) {
        int id = v.getId();

    }

}
